public class Inclass {
    public int num1;
    public  int num2;
    public int num3;
    public Inclass(){

    }

    public Inclass(int num1, int num2, int num3) {
        this.num1 = num1;
        this.num2 = num2;
        this.num3 = num3;
    }

    public class interClass{

        public int num1;
        public int num2;
        public interClass(){

        }
        public interClass(int num1, int num2) {
            this.num1 = num1;
            this.num2 = num2;
        }

        public int getmax(){
            return Math.max(num1, num2);
        }
    }
    public int getMax(){
        interClass c = new interClass(num1,num2);
        return Math.max(num3,c.getmax());
    }


}
